fmt.pp.fmt (field)
111 uses
fmt (current package)
print.go#L130: fmt fmt
print.go#L156: p.fmt.init(&p.buf)
print.go#L184: func (p *pp) Width() (wid int, ok bool) { return p.fmt.wid, p.fmt.widPresent }
print.go#L186: func (p *pp) Precision() (prec int, ok bool) { return p.fmt.prec, p.fmt.precPresent }
print.go#L191: return p.fmt.minus
print.go#L193: return p.fmt.plus || p.fmt.plusV
print.go#L195: return p.fmt.sharp || p.fmt.sharpV
print.go#L197: return p.fmt.space
print.go#L199: return p.fmt.zero
print.go#L405: p.fmt.fmtBoolean(v)
print.go#L414: sharp := p.fmt.sharp
print.go#L415: p.fmt.sharp = leading0x
print.go#L416: p.fmt.fmtInteger(v, 16, unsigned, 'v', ldigits)
print.go#L417: p.fmt.sharp = sharp
print.go#L424: if p.fmt.sharpV && !isSigned {
print.go#L427: p.fmt.fmtInteger(v, 10, isSigned, verb, ldigits)
print.go#L430: p.fmt.fmtInteger(v, 10, isSigned, verb, ldigits)
print.go#L432: p.fmt.fmtInteger(v, 2, isSigned, verb, ldigits)
print.go#L434: p.fmt.fmtInteger(v, 8, isSigned, verb, ldigits)
print.go#L436: p.fmt.fmtInteger(v, 16, isSigned, verb, ldigits)
print.go#L438: p.fmt.fmtInteger(v, 16, isSigned, verb, udigits)
print.go#L440: p.fmt.fmtC(v)
print.go#L442: p.fmt.fmtQc(v)
print.go#L444: p.fmt.fmtUnicode(v)
print.go#L455: p.fmt.fmtFloat(v, size, 'g', -1)
print.go#L457: p.fmt.fmtFloat(v, size, verb, -1)
print.go#L459: p.fmt.fmtFloat(v, size, verb, 6)
print.go#L461: p.fmt.fmtFloat(v, size, 'f', 6)
print.go#L475: oldPlus := p.fmt.plus
print.go#L479: p.fmt.plus = true
print.go#L482: p.fmt.plus = oldPlus
print.go#L491: if p.fmt.sharpV {
print.go#L492: p.fmt.fmtQ(v)
print.go#L494: p.fmt.fmtS(v)
print.go#L497: p.fmt.fmtS(v)
print.go#L499: p.fmt.fmtSx(v, ldigits)
print.go#L501: p.fmt.fmtSx(v, udigits)
print.go#L503: p.fmt.fmtQ(v)
print.go#L512: if p.fmt.sharpV {
print.go#L532: p.fmt.fmtInteger(uint64(c), 10, unsigned, verb, ldigits)
print.go#L537: p.fmt.fmtBs(v)
print.go#L539: p.fmt.fmtBx(v, ldigits)
print.go#L541: p.fmt.fmtBx(v, udigits)
print.go#L543: p.fmt.fmtQ(string(v))
print.go#L561: if p.fmt.sharpV {
print.go#L573: p.fmt.padString(nilAngleString)
print.go#L575: p.fmt0x64(uint64(u), !p.fmt.sharp)
print.go#L579: p.fmt0x64(uint64(u), !p.fmt.sharp)
print.go#L603: oldFlags := p.fmt.fmtFlags
print.go#L605: p.fmt.clearflags()
print.go#L617: p.fmt.fmtFlags = oldFlags
print.go#L645: if p.fmt.sharpV {
print.go#L650: p.fmt.fmtS(stringer.GoString())
print.go#L688: p.fmt.padString(nilAngleString)
print.go#L699: p.fmt.fmtS(reflect.TypeOf(arg).String())
print.go#L806: if p.fmt.sharpV {
print.go#L819: if p.fmt.sharpV {
print.go#L829: if p.fmt.sharpV {
print.go#L835: if p.fmt.sharpV {
print.go#L841: if p.fmt.sharpV {
print.go#L847: if p.fmt.plusV || p.fmt.sharpV {
print.go#L859: if p.fmt.sharpV {
print.go#L892: if p.fmt.sharpV {
print.go#L1045: p.fmt.clearflags()
print.go#L1051: p.fmt.sharp = true
print.go#L1053: p.fmt.zero = !p.fmt.minus // Only allow zero padding to the left.
print.go#L1055: p.fmt.plus = true
print.go#L1057: p.fmt.minus = true
print.go#L1058: p.fmt.zero = false // Do not pad with zeros to the right.
print.go#L1060: p.fmt.space = true
print.go#L1071: p.fmt.sharpV = p.fmt.sharp
print.go#L1072: p.fmt.sharp = false
print.go#L1074: p.fmt.plusV = p.fmt.plus
print.go#L1075: p.fmt.plus = false
print.go#L1093: p.fmt.wid, p.fmt.widPresent, argNum = intFromArg(a, argNum)
print.go#L1095: if !p.fmt.widPresent {
print.go#L1101: if p.fmt.wid < 0 {
print.go#L1102: p.fmt.wid = -p.fmt.wid
print.go#L1103: p.fmt.minus = true
print.go#L1104: p.fmt.zero = false // Do not pad with zeros to the right.
print.go#L1108: p.fmt.wid, p.fmt.widPresent, i = parsenum(format, i, end)
print.go#L1109: if afterIndex && p.fmt.widPresent { // "%[3]2d"
print.go#L1123: p.fmt.prec, p.fmt.precPresent, argNum = intFromArg(a, argNum)
print.go#L1125: if p.fmt.prec < 0 {
print.go#L1126: p.fmt.prec = 0
print.go#L1127: p.fmt.precPresent = false
print.go#L1129: if !p.fmt.precPresent {
print.go#L1134: p.fmt.prec, p.fmt.precPresent, i = parsenum(format, i, end)
print.go#L1135: if !p.fmt.precPresent {
print.go#L1136: p.fmt.prec = 0
print.go#L1137: p.fmt.precPresent = true
print.go#L1169: p.fmt.sharpV = p.fmt.sharp
print.go#L1170: p.fmt.sharp = false
print.go#L1172: p.fmt.plusV = p.fmt.plus
print.go#L1173: p.fmt.plus = false
print.go#L1185: p.fmt.clearflags()
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |